.class Lcom/htc/android/footprints/activity/WrapShowOnMapActivity$3;
.super Ljava/lang/Object;
.source "WrapShowOnMapActivity.java"

# interfaces
.implements Lcom/htc/widget/TabSwitchHost$OnTabChangeSpecialListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 132
    iput-object p1, p0, Lcom/htc/android/footprints/activity/WrapShowOnMapActivity$3;->this$0:Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTabBeforeChange(Ljava/lang/String;)V
    .locals 0
    .parameter "nextTabId"

    .prologue
    .line 133
    return-void
.end method

.method public onTabChanged(Ljava/lang/String;)V
    .locals 2
    .parameter "tabId"

    .prologue
    .line 124
    invoke-static {}, Lcom/htc/android/footprints/vo/Category;->getAllCategory()Lcom/htc/android/footprints/vo/Category;

    move-result-object v0

    iget-object v0, v0, Lcom/htc/android/footprints/vo/Category;->mKeyword:Ljava/lang/String;

    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 125
    iget-object v0, p0, Lcom/htc/android/footprints/activity/WrapShowOnMapActivity$3;->this$0:Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;

    invoke-static {}, Lcom/htc/android/footprints/vo/Category;->getAllCategory()Lcom/htc/android/footprints/vo/Category;

    move-result-object v1

    #setter for: Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;->curCategory:Lcom/htc/android/footprints/vo/Category;
    invoke-static {v0, v1}, Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;->access$202(Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;Lcom/htc/android/footprints/vo/Category;)Lcom/htc/android/footprints/vo/Category;

    .line 129
    :goto_0
    iget-object v0, p0, Lcom/htc/android/footprints/activity/WrapShowOnMapActivity$3;->this$0:Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;

    #getter for: Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;->mActivity:Lcom/htc/android/footprints/activity/ShowOnMapActivity;
    invoke-static {v0}, Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;->access$100(Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;)Lcom/htc/android/footprints/activity/ShowOnMapActivity;

    move-result-object v0

    iget-object v1, p0, Lcom/htc/android/footprints/activity/WrapShowOnMapActivity$3;->this$0:Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;

    #getter for: Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;->curCategory:Lcom/htc/android/footprints/vo/Category;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;->access$200(Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;)Lcom/htc/android/footprints/vo/Category;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/htc/android/footprints/activity/ShowOnMapActivity;->setCategory(Lcom/htc/android/footprints/vo/Category;)V

    .line 130
    return-void

    .line 127
    :cond_0
    iget-object v0, p0, Lcom/htc/android/footprints/activity/WrapShowOnMapActivity$3;->this$0:Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;

    iget-object v1, p0, Lcom/htc/android/footprints/activity/WrapShowOnMapActivity$3;->this$0:Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;

    #getter for: Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;->dbManager:Lcom/htc/android/footprints/provider/FootprintManager;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;->access$300(Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;)Lcom/htc/android/footprints/provider/FootprintManager;

    move-result-object v1

    invoke-virtual {v1, p1}, Lcom/htc/android/footprints/provider/FootprintManager;->findCategory(Ljava/lang/String;)Lcom/htc/android/footprints/vo/Category;

    move-result-object v1

    #setter for: Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;->curCategory:Lcom/htc/android/footprints/vo/Category;
    invoke-static {v0, v1}, Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;->access$202(Lcom/htc/android/footprints/activity/WrapShowOnMapActivity;Lcom/htc/android/footprints/vo/Category;)Lcom/htc/android/footprints/vo/Category;

    goto :goto_0
.end method
